COM AT^SABD Test Accessory for Bluetooth data
COM V1.0	08.12.04	T.Kleinmann
COM V1.1	24.02.2005	T. Kleinmann	added comment about responsibility

#ToDo: Check Play / Pause / Stop / Title Select


from attglobals import *

####################################################################################################
MESSAGE('These tests are considered to be the responsibility of accessory testers in ULM. \n\
The tests will be performed with real hardware.')
####################################################################################################

AT^SABD=?
WAITFOR (1,'^SABD:')

#Enable Accessory data transfer mode
AT^SABD=1
WAIT FOR OK

AT^SABD?
WAITFOR (1,'^SABD:')

#Enable Data transfer mode
AT^SABD=2
WAIT FOR OK

MESSAGE('Please play a media file! - Press OK when file is being played!')
AT^SABD?
WAITFOR (1,'^SABD:')

#Disable Notifications and accessory data transfer
AT^SABD=0
WAIT FOR OK

#New command for X75 ID = 03 (BT Headset Stereo)
AT^SABD=2,"03,02,1" 
WAIT FOR OK
